/*
 * @description 定义原生组件通用界面的常量
 * classType 0 默认通用界面
 * classType 1 底部弹框窗口
 * classType 2 活动弹框
 * classType 3 含返回和关闭的抽屉弹框界面
 * classType 4 Native搜索起始界面
 * classType 6 Native付款成功界面
 * classType 7 Native物流界面
 */
exports.Common_Class_Type = 0;
exports.Pop_Class_Type = 1;
exports.Activity_Class_Type = 2;
exports.Drawer_Class_Type = 3;
exports.Search_Class_Type = 4;
exports.PaySuccess_Class_Type = 6;
exports.Logistic_Class_Type = 7;

/*
 * @description 限制加入购物车最大品种数
 *
 */
exports.MAX_TOTAL_ITEMS = 20;


/*
 * @description 定义globalEvent事件集
 *
 */
exports.EVENT_REFRESH_HOME = "fire_event_refresh_home"; //通知首页刷新事件
exports.EVENT_GET_LOGIN = "fire_event_login"; //登录
exports.EVENT_CART_TO_ORDER = "event_cart_to_order"; //购物车生成订单
exports.EVENT_COUPON_TO_ORDER = "event_coupon_to_order"; //优惠券生成订单
exports.EVENT_TAB_CHANGE = "event_tab_change"; //tab组件切换
exports.EVENT_EDIT_ADDRESS = "event_edit_address"; //新增或编辑收货地址
exports.EVENT_GET_SELFPICK = "fire_event_selfpick"; //获取自提点信息
exports.EVENT_EDIT_ADDRESS_FROM_CONFIRM = "event_edit_address_from_confirm"; //确认订单编辑收货地址通知
exports.EVENT_ADD_ADDRESS_FROM_CONFIRM = "event_add_address_from_confirm"; //确认订单新建收货地址通知

exports.EVENT_ORDER_PAY_SUCCESS = "event_order_pay_success"; //待付款订单支付成功事件
exports.EVENT_ORDER_DETAIL = "event_order_detail"; //订单详情
exports.EVENT_ORDER_RATE = "event_order_rate"; //订单评价
exports.EVENT_ORDER_REFUND = "event_order_refund"; //订单申请退款
exports.EVENT_ORDER_MODIFY_REFUND = "event_order_modify_refund"; //订单修改退款
exports.EVENT_ORDER_RETURN_GOODS = "event_order_return_goods"; //订单申请退货

exports.EVENT_ADD_CART_ANIMATION = "event_add_cart_animation"; //商品图片加入购物车动画事件
exports.EVENT_UPDATE_CART = "event_update_cart"; //更新购物车事件
exports.EVENT_GOODS_RESUME = "event_goods_resume"; //同步购物车商品事件

exports.EVENT_CART_DELETE = "event_cart_delete"; //购物车删除事件(包括单个删除、勾选部分购物车商品和全选购物车商品)
exports.EVENT_CART_DELETE_FOR_FOOTER = "event_cart_delete_for_footer"; //购物车删除通知底部导航事件(包括单个删除、勾选部分购物车商品和全选购物车商品)
exports.EVENT_CART_CHECKED = "event_cart_checked"; //购物车商品勾选事件

exports.EVENT_SECURITY_RELOAD = "event_security_reload"; //免密支付重载事件


